package com.example.listeners;
import com.example.pushMessage.RocketmqHandlerRegistry;
import com.example.pushMessage.RocketmqPushMessageListener;
import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.springframework.stereotype.Component;

@RocketMQMessageListener(
        topic = "cui_chat",
        consumerGroup = "message_push",
        accessChannel = "${rocketmq.access-channel}",
        accessKey = "${rocketmq.producer.access-key}",
        secretKey = "${rocketmq.producer.secret-key}")
@Component
public final class PushChatMessageListener extends RocketmqPushMessageListener {
    public PushChatMessageListener(RocketmqHandlerRegistry rocketmqHandlerRegistry) {
        super(rocketmqHandlerRegistry);
    }
}